#1-100累加求和
i=0
sum=0
for i in range(101):
    sum=sum+i
print(sum)
i=1
sum=0
while i<=100:
    sum=sum+i
    i=i+1
print(sum)
a='12.345'
print(int(float(a)))
n=int(int(input('请输入n:')))
for i in range(n+1):
    a=i%2
    if a==1:
        b=i*i
        print(b)
n=int(int(input('请输入n:')))
for i in range(1,n+1):
    if n%i==0:
        print(i)
a='abcsba'
for i,j in zip(a,a[::-1]):
    if i == j:
        print('yes')
    else:
        print('no')